package Test;

public class homework004 {

}
class Square{
    public double area(double r){
        return r*r;

    }
}
class Circle{
    public double area(double r){
        return Math.PI*r*r;
    }
}